package com.leyou.item.service;

import com.leyou.item.pojo.Specification;

public interface SpecificationService {


    /**
     * 根据ID查询规格参数
     * @param id
     * @return
     */
    public Specification queryById(Long id);

    /**
     * 新增
     * @param specification
     * @return
     */
    public void addSpec(Specification specification);

    /**
     * 更新
     * @param specification
     * @return
     */
    public void updateSpec(Specification specification);


    /**
     * 删除
     * @param specification
     * @return
     */
    public void deleteSpec(Specification specification);

}
